471a9d6e2a88d449a15cb6b6699626cc0a832eba,controller/src/main/java/org/apache/ambari/controller/Stacks.java,Stacks,Stacks,#,55
Before Change
JAXBContext.newInstance("org.apache.ambari.common.rest.entities");
loadDummyStack(jaxbContext, "hadoop-security", 0);
loadDummyStack(jaxbContext, "cluster123", 0);
loadDummyStack(jaxbContext, "cluster124", 0);
//loadDummyStack(jaxbContext, "puppet1", 0);
} catch (JAXBException e) {
throw new RuntimeException("Can't create jaxb context", e);
After Change
if (!this.dataStore.stackExists("cluster123")) {
loadDummyStack(jaxbContext, "cluster123", 0);
}
if (!this.dataStore.stackExists("cluster124")) {
loadDummyStack(jaxbContext, "cluster124", 0);
}
//loadDummyStack(jaxbContext, "puppet1", 0);
} catch (JAXBException e) {